import { defineStore } from "pinia";

export const useFoldStore = defineStore('fold', {
    state: () => {
        return {
            fold: false,
            refresh:true,
        }
    },
    actions: {
        isFold() { 
            this.fold =!this.fold
        },
        changeFresh() { 
            this.refresh = !this.refresh
        }
    }

})